<%-- 
    Document   : sin-autorizacion
    Created on : 20/02/2012, 23:14:55
    Author     : luciano
--%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
   <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>SVE - Sin Autorizaci&oacute;n</title>
         <link type="image/x-icon" rel="shortcut icon" href="<%= request.getContextPath() %>/images/favicon.ico">
        <LINK REL=StyleSheet HREF="<%= request.getContextPath() %>/css/sve.css" TYPE="text/css" MEDIA=screen>
    </head>
    <body>
        <div id="wrapper">
            <div id="header">
                <table style="width:100%;">
                    <tr>
                    <td align="left" >
                        SVE - Sistema de voto electr&oacute;nico
                    </td>
                    <td align="right" >
                        <img id="img_utn_logo" alt="UTNFRC" src="images/logoutn.gif">
                    </td>
                    </tr>
                    </tbody>
                </table>
            </div>
			
            <div id="content"> 
            	<div id="menu-principal" >
                     <%if(request.getUserPrincipal() != null){%>
                     <table style="width:100%;">
                        <tbody>
                            <tr>
                                <td align="left">
                                    <ul>
                                    	<li>
											
										</li>                                        										
                                     </ul>
                                </td>
                                <td align="right">
                                   	<% 
                                   		if(request.getUserPrincipal() != null){
                                   			out.print("Usuario: " + request.getUserPrincipal().getName());
                                   		}
                                   	%>
                                </td>
                                <td align="right">
                                   <ul>
                                        <li>
                                            <a href="Salir" >Salir</a>
                                        </li>
                                     </ul>
                                </td>
                            </tr>
                        </tbody>
                        <% } %>
                    </table>
                </div>               
                <form action="Index" method="POST" >
                    <h1>Error - Usuario sin autorizaci&oacute;n</h1>
                    <p>Usted no tiene autorizaci&oacute;n para ingresar a esa p&aacute;gina, comun&iacute;quese con el administrador para obtener los permisos correspondientes.</p>
                    <input type="submit" value="Volver" > 
                </form>
            </div>

            <div id="footer">
                Paradigmas de programaci&oacute;n 2012 - Alumnos: Luciano Mart&iacute;n de Asteinza, Jos&eacute; El&iacute;as Nazar
            </div>
        </div>
    </body>
</html>
    